package com.tongji.housediy.utils
{
	import com.tongji.housediy.view.renderer.GoodsItemRentererMediator;
	
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.display.Loader;
	import flash.events.Event;
	import flash.net.URLLoader;
	import flash.net.URLRequest;
	
	import mx.core.UIComponent;
	
	import org.robotlegs.mvcs.Mediator;

	/**
	 * 
	 * @author chenchao
	 * 
	 */
	public class LoadAdmin
	{
		static private var urlLoader:URLLoader = new URLLoader();
		
		static public function loadBitmapData(src:String):Loader
		{
			var loader:Loader = new Loader();
			loader.load(new URLRequest(src));
			return loader;
		}
		
		static public function loadXML(src:String):URLLoader
		{
			urlLoader.load(new URLRequest(src));
			return urlLoader;
		}
	}
}